<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>开始考试</title>
	<!-- Theme CSS -->
	<link rel="stylesheet" href="assets/stylesheets/theme.css" />
	<!-- Vendor CSS -->
	<link rel="stylesheet" href="assets/vendor/bootstrap/css/bootstrap.css" />
	<link rel="stylesheet" href="assets/vendor/font-awesome/css/font-awesome.css" />
</head>

<body>

	<div class="main" style="padding-left: 20px; width: 100%; height: 100vh;">
		<section role="main">
			<!-- start: page -->
			<section class="panel">
				<div class="panel-body">
					<p style="padding-top: 10px;">
						<strong>距离考试结束还有：</strong>03分钟33秒
						<a class="btn btn-primary" role="button" data-toggle="modal" data-target="#myModal"
							style="float: right;">
							<i class="fa fa-send" aria-hidden="true"></i> 提交考试</a>
					</p>
				</div>
			</section>
			<div class="row">
				<div class="col-md-9">
					<section class="panel">
						<header class="panel-heading">
							<div class="panel-actions">
								<a href="#" class="fa fa-caret-down"></a>
								<a href="#" class="fa fa-times"></a>
							</div>

							<h2 class="panel-title">试卷题目</h2>
						</header>
						<div class="panel-body">
							<h5>1.找出与众不同的一个：</h5>
							<div role="radiogroup" class="el-radio-group">
								<label role="radio" tabindex="0" class="el-radio">
									<span class="el-radio__input">
										<!-- <span class="el-radio__inner"></span> -->
										<input type="radio" aria-hidden="true" name="optradio" tabindex="-1"
											class="el-radio__original" value="">
									</span>
									<span class="el-radio__label">A.1</span>
								</label>
								<label role="radio" tabindex="-1" class="el-radio">
									<span class="el-radio__input">
										<!-- <span class="el-radio__inner"></span> -->
										<input type="radio" aria-hidden="true" name="optradio" tabindex="-1"
											class="el-radio__original" value="">
									</span>
									<span class="el-radio__label">B.1</span>
								</label>
								<label role="radio" tabindex="-1" class="el-radio">
									<span class="el-radio__input">
										<!-- <span class="el-radio__inner"></span> -->
										<input type="radio" aria-hidden="true" name="optradio" tabindex="-1"
											class="el-radio__original" value="">
									</span>
									<span class="el-radio__label">C.1</span>
								</label>
								<label role="radio" tabindex="-1" class="el-radio">
									<span class="el-radio__input">
										<!-- <span class="el-radio__inner"></span> -->
										<input type="radio" aria-hidden="true" name="optradio" tabindex="-1"
											class="el-radio__original" value="">
									</span>
									<span class="el-radio__label">D.1</span>
								</label>
							</div>
						</div>
					</section>
				</div>
				<div class="col-md-3">
					<section class="panel">
						<header class="panel-heading">
							<div class="panel-actions">
								<a href="#" class="fa fa-caret-down"></a>
								<a href="#" class="fa fa-times"></a>
							</div>

							<h2 class="panel-title">答题</h2>
						</header>
						<div class="panel-body">
							<div class="start-exam-div">
								<p>答题卡</p>
							</div>
							<button type="button" class="mb-xs mt-xs mr-xs btn btn-warning">1</button>
							<button type="button" class="mb-xs mt-xs mr-xs btn btn-warning">2</button>
							<button type="button" class="mb-xs mt-xs mr-xs btn btn-warning">3</button>
							<button type="button" class="mb-xs mt-xs mr-xs btn btn-warning">4</button>
						</div>
					</section>
				</div>
			</div>


			<a href="#" class="mb-xs mt-xs mr-xs btn btn-primary" role="button"><i class="fa  fa-arrow-left"
					aria-hidden="true"></i> 上一题 </a>
			<a href="#" class="mb-xs mt-xs mr-xs btn btn-warning" role="button"> 下一题 <i class="fa  fa-arrow-right"
					aria-hidden="true"></i></a>
			<!-- end: page -->
		</section>
	</div>

	<!-- 模态框（Modal） -->
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×
					</button>
					<h4 class="modal-title" id="myModalLabel">
						提示
					</h4>
				</div>
				<div class="modal-body">
					<p>确定交卷吗？</p>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">取消
					</button>
					<button type="button" class="btn btn-primary">
						提交更改
					</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->

	<!-- Vendor -->
	<script src="assets/vendor/jquery/jquery.js"></script>
	<script src="assets/vendor/bootstrap/js/bootstrap.js"></script>

	<!-- 为单选按钮(选中的选项)添加样式 -->
	<script>
		$(function () {
			$(".el-radio-group input").change(function () {
				$(":checked").parent().parent().addClass("is-checked").siblings().removeClass("is-checked");
			});
		});
	</script>
</body>

</html>